package ua.kpi_java_training.zabrodskyi.module2;

/**
 * @author Maksym Zabrodskyi
 * @version 10-Jun-2013
 */
public class Fish extends ObjectInPool implements Move {

    public Fish() {
        super();
    }

    public Fish(Position position) {
        super(position);
    }

    @Override
    public void move(Pool pool) {
    }
    
    public void eat(Pool pool) {
    }

    public void spawn(Pool pool) {
    }

    public void ruin(Pool pool) {
    }

    @Override
    public boolean equals(Object object) {
        return object instanceof Fish;
    }

    @Override
    public String toString() {
        return String.format("Fish is on position %s", super.getPosition());
    }

}
